package com.education.welco.service;

import com.education.welco.pojo.SCatalogAnsweringSyn;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 备课查看课程问答 服务层
 *
 * @author d
 * @date 2020-05-14
 */
public interface ISCatalogAnsweringSynService {

    /**
     * 查询备课查看课程问答信息
     *
     * @param id 备课查看课程问答ID
     * @return 备课查看课程问答信息
     */
    public SCatalogAnsweringSyn selectSCatalogAnsweringSynById(Integer id);

    /**
     * 查询备课查看课程问答列表
     *
     * @param sCatalogAnsweringSyn 备课查看课程问答信息
     * @return 备课查看课程问答集合
     */
    public List<SCatalogAnsweringSyn> selectSCatalogAnsweringSynList(SCatalogAnsweringSyn sCatalogAnsweringSyn);

    /**
     * 新增备课查看课程问答
     *
     * @param sCatalogAnsweringSyn 备课查看课程问答信息
     * @return 结果
     */
    public int insertSCatalogAnsweringSyn(SCatalogAnsweringSyn sCatalogAnsweringSyn);

    /**
     * 修改备课查看课程问答
     *
     * @param sCatalogAnsweringSyn 备课查看课程问答信息
     * @return 结果
     */
    public int updateSCatalogAnsweringSyn(SCatalogAnsweringSyn sCatalogAnsweringSyn);

    /**
     * 删除备课查看课程问答
     *
     * @param catalogId 备课查看课程问答ID
     * @return 结果
     */
    public int deleteSCatalogAnsweringSynByCatalogId(Integer catalogId);

    /**
     * 删除备课查看课程问答信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSCatalogAnsweringSynByIds(String ids);
}